/**
 * Created by Administrator on 2017/7/13.
 */
angular.module('audit',[
    'ui.router',
//    引入页面控制器
    'module.template',
    'module.activity_list',
    "module.originator_list",
    'module.activity_audit',
    'module.originator_audit',
//引入服务器
    "service.common",
//引入过滤器
    "filter"
])
.run(
    ['$rootScope','$state','$stateParams',
        function ($rootScope,$state,$stateParams) {
            $rootScope.$state=$state;
            $rootScope.$stateParams=$stateParams;
        }
    ]
)
.config(
    ["$stateProvider","$urlRouterProvider",'$locationProvider',
        function ($stateProvider,$urlRouterProvider,$locationProvider) {
        $urlRouterProvider
            .otherwise('/home/Activity_list');
    }]
);